package com.project.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @RequestMapping("/speak")
    public String speak(){
        return "说话";
    }
    @RequestMapping("/add")
    public String add(){
        return "添加";
    }
}
